/**
 * 
 */
package com.xpec.c4.game.datamanager.agent.money;

import java.io.Serializable;
import java.math.BigDecimal;

import com.ms.service.error.ErrorCode;

/**
 * @author TW15010
 * 
 */
public class ChangeCoin implements Serializable {
	private static final long serialVersionUID = -4309245689505720723L;

	/** 幣別 */
	private CoinType coinType;

	/**
	 * 變更金額，填絕對值<br>
	 * 要曾加 100 就填 100<br>
	 * 要扣 100 還是填 100
	 */
	private BigDecimal changeValue = BigDecimal.ZERO;

	/** 要變更的幣別目前數值 */
	private BigDecimal currentValue;

	/**
	 * 執行結果
	 * 
	 * @see ErrorCode
	 */
	private int result;

	/** 變更後的數值 */
	private BigDecimal newValue;

	public CoinType getCoinType() {
		return coinType;
	}

	public void setCoinType(CoinType coinType) {
		this.coinType = coinType;
	}

	public BigDecimal getChangeValue() {
		return changeValue;
	}

	public void setChangeValue(BigDecimal changeValue) {
		this.changeValue = changeValue;
	}

	public BigDecimal getCurrentValue() {
		return currentValue;
	}

	public void setCurrentValue(BigDecimal currentValue) {
		this.currentValue = currentValue;
	}

	public int getResult() {
		return result;
	}

	public void setResult(int result) {
		this.result = result;
	}

	public BigDecimal getNewValue() {
		return newValue;
	}

	public void setNewValue(BigDecimal newValue) {
		this.newValue = newValue;
	}
}
